#ifndef __RESULT_PKG_H__
#define __RESULT_PKG_H__
#include "package_base.h"
#include "bitmap.h"

class ResultPkg : public IPkg//, IParser
{
public:
	ResultPkg();
	virtual ~ResultPkg();
public:
	virtual Result Parse(Context* pCtx); //pkg->parse
//	virtual Result Parse(IPkg* pkg);	 //parser->parse
	virtual Result Check(Context* pCtx);
	virtual const char* Pkg() {return NULL;}
	virtual int PkgSize() {return 0;}
private:
	int m_dwErrno;
	BitMap* m_pErrorMap;
};


#endif
